package com.baizhi.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@ToString
public class User implements Serializable {
    @Excel(name="用户编号")
    private int userId;
    @Excel(name="用户电话")
    private String userTelphone;
    @Excel(name="用户密码")
    private String userPassword;
    @Excel(name="用户头像")
    private String userImage;
    @Excel(name="用户昵称")
    private String userNickName;
    @Excel(name="用户姓名")
    private String userName;
    @Excel(name="用户性别")
    private String userSex;
    @Excel(name="用户个性签名")
    private String userAutograph;
    @Excel(name="省份")
    private String userProvince;
    @Excel(name="城市")
    private String userCity;
    @Excel(name="用户状态",replace = {"激活_1","冻结_0"})
    private int userStatus;
    @Excel(name="用户创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date userCreateDate;
    @Excel(name="关注上师",replace = {"祥龙_1","伏虎_2","睡梦_3","如来_4"})
    private Guru guru;

}
